﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Test_2D
{
    [Serializable]
    public class FrameData
    {

        public FrameData(int _cur_timeLine, int _cur_frame)
        {
            this.cur_timeLine = _cur_timeLine;
            this.cur_frame = _cur_frame;
        }
        private int cur_timeLine, cur_frame;

        /// <summary>
        /// 获得当前选择的层号
        /// </summary>
        public int TimeLineIndex
        {
            get { return cur_timeLine; }
            set { cur_timeLine = value; }
        }

        /// <summary>
        /// 获得当前选择的帧号
        /// </summary>
        public int FrameIndex
        {
            get { return cur_frame; }
            set { cur_frame = value; }
        }
    }
}
